﻿namespace KinonekoSoftware.CodariaDB.Documents.DataParts.Modules
{
    public class Element_Switch : ModuleElement, IMetadataSupport
    {
        public string Metadata { get; set; }
        public bool   Value    { get; set; }


        public override ModuleElement Clone() => new Element_Switch
        {
            Id          = Id,
            Title       = Title,
            Description = Description,
            Index       = Index,
            Metadata    = Metadata,
            Value       = Value,
        };
    }
}